<?php
namespace app\index\controller;

use think\Controller;

class Index extends Controller
{
    public function index()
    {
        $this->assign('name', 'lauwen');
        return $this->fetch();
    }

    public function hello()
    {
        $user = model('User')->getAll();
        $this->assign('user', $user);
        $this->assign('name', 'lauwen');
        return $this->fetch();
    }
}
